/*

#include "EnvCell.h"
#include "Environment.h"
#include "Particle.h"
#include <vector>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <stdlib.h>

using namespace std;

int main() {
    string userInput;
    Environment* testEnvironment;
    while (true) {
        cout << "\n\n===============\n";
        cout << "1) constructor" << endl;
        cout << "2) destructor" << endl;
        cout << "3) reset board" << endl;
        cout << "4) print board" << endl;
        cout << "5) account cells" << endl;
        cout << "6) exit" << endl;

        getline(cin, userInput, '\n');

        int userInt = -1;
        istringstream iss(userInput);
        iss >> userInt >> std::ws;
        if (iss.fail() || !iss.eof()) {
            cerr << "Invalid Input, pleace try again" << endl;
        } else {

            switch (userInt) {
                case 1:
                {
                    testEnvironment = new Environment();
                    break;
                }
                case 2:
                {
                    testEnvironment->~Environment();
                    break;
                }
                case 3://reset board
                {
                    testEnvironment->resetBoard();
                    break;
                }
                case 4://print board
                {
                    testEnvironment->printBoard();
                    break;
                }
                case 5://account
                {
                    bool result = testEnvironment->accountParticles();
                    if(result){
                        cout << "Account passed!" << endl;
                    }
                    else{
                        cout << "Account failed!" << endl;
                    }
                    break;
                }
                case 6:
                {
                    exit(0);
                    break;
                }


            }
        }

    }
}

*/
